package cn.itcast.dao.company;

import cn.itcast.domain.company.Company;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CompanyDao {
    /**
     * 查询列表
     */
    List<Company> findAll();

    /**
     * 添加方法
     * @param company
     * @return
     */
    Integer save(Company company);
    Company findById(String id);
    Integer update(Company company);
    Integer delete(String id);
//    PageInfo<Company> findByPage(int pageNum,int pageSize);

}
